package com.roadmap.entities;

import java.io.Serializable;
import java.util.Date;

import com.roadmap.common.BaseConst;
import com.roadmap.common.BaseEntity;

/**
 * id -> dispatcherId
 */
public class Request extends BaseEntity implements Serializable {
	private static final long serialVersionUID = -4184741891907215371L;
	private String recipientId;
	private int status;
	private int type;
	private String note;

	public Request() {
		this.status = BaseConst.REQUEST_STATUS_NEW;
		this.type = BaseConst.REQUEST_TYPE_FRIEND;
		this.setCreatedTime(new Date());
	}

	public String getRecipientId() {
		return recipientId;
	}

	public void setRecipientId(String recipientId) {
		this.recipientId = recipientId;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
}
